﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .auto-style1 {
            width: 42%;
        }
        .auto-style2 {
            height: 20px;
        }
        .auto-style4 {
            height: 41px;
        }
        .auto-style5 {
            height: 33px;
        }
        .auto-style6 {
            height: 33px;
        }
        .auto-style7 {
            width: 218px;
            height: 35px;
        }
        .auto-style8 {
            height: 35px;
        }
    </style>
</head>
<body background="images\6.jpg"style=" background-repeat:no-repeat;background-size:100% 100%; background-attachment: fixed; height: 261px;"  >
    <form id="form1" runat="server">
    <div style="color: #00FFFF; bottom: auto; right: auto;" >
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <center>
       <table class="auto-style1" style="background-position: right; height: 85px;">
        <tr>
            <td class="auto-style2" colspan="2" style="color: #00FFFF; font-family: 华文新魏; font-size: xx-large;">超市后台管理系统</td>
        </tr>
        <tr>
            <td class="auto-style5" style="color: #00FFFF; font-family: 华文新魏;" colspan="2">用户类型：<asp:DropDownList ID="ddlUser" runat="server">
                <asp:ListItem Selected="True" Value="putong">普通员工</asp:ListItem>
                <asp:ListItem Value="manage">管理层</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="auto-style5" style="color: #00FFFF; font-family: 华文新魏;">用户名：<asp:TextBox ID="txtID" runat="server"></asp:TextBox>
            </td>
            <td class="auto-style6" style="color: #FF0000; font-family: 华文新魏;">*

                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="用户名不能为空！" ControlToValidate="txtID" BorderStyle="None"></asp:RequiredFieldValidator>

            </td>
        </tr>
        <tr>
            <td class="auto-style7" style="color: #00FFFF; font-family: 华文新魏;">&nbsp;密&nbsp;&nbsp; 码:&nbsp;<asp:TextBox ID="txtPS" runat="server" TextMode="Password"></asp:TextBox>
            </td>
            <td class="auto-style8" style="color: #FF0000; font-family: 华文新魏;">*<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="密码不能为空！" ControlToValidate="txtPS" BorderStyle="None"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="auto-style4" style="color: #00FFFF; font-family: 华文新魏;">
                &nbsp;&nbsp;
                <asp:Button ID="btnLogin" runat="server" Text="登录" Height="25px" style="margin-left: 0px; margin-top: 8px;" Width="58px" OnClick="btnLogin_Click" />
                &nbsp; &nbsp;<asp:HyperLink ID="hlRegister" runat="server" NavigateUrl="~/register.aspx">注册</asp:HyperLink>
            </td>
        </tr>
    </table>
  </center>
    </div>
    </form>
   
</body>
</html>
